#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    cv::VideoCapture captureWebcam;
    cv::Mat matOrignal;
    cv::Mat matProcessed;

    QImage qimgOrignal;
    QImage qimgProcessed;

    std::vector<cv::Vec3f> vecCircles;
    std::vector<cv::Vec3f>::iterator irtCircles;

    QTimer* tmrTimer;


public slots:

    void processFrameAndUpdateGUI();

private slots:
    void on_btnPause_clicked();





private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
